package com.ruoyi.member.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员钱包对象 member_wallet
 *
 * @author ruoyi
 * @date 2025-10-28
 */
public class MemberWallet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包ID */
    private Integer memberWalletId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 金币余额 */
    @Excel(name = "金币余额")
    private Integer gold;

    public void setMemberWalletId(Integer memberWalletId)
    {
        this.memberWalletId = memberWalletId;
    }

    public Integer getMemberWalletId()
    {
        return memberWalletId;
    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    public void setGold(Integer gold)
    {
        this.gold = gold;
    }

    public Integer getGold()
    {
        return gold;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("memberWalletId", getMemberWalletId())
            .append("userId", getUserId())
            .append("gold", getGold())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
